﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BaseFunction;

namespace YY.financial_information.AddBank
{
    public partial class AddBank : BaseFunction.LoginHelp
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string TrueName = (base.GetSessionModel() as YY.Model.agent_users).true_name.ToString();
                string ID = (base.GetSessionModel() as YY.Model.agent_users).id_number.ToString();
                if (string.IsNullOrEmpty(TrueName) || string.IsNullOrEmpty(ID))
                {
                    MessageBox.ResponseScript(this.Page, "AlarmInfor();");
                }
                else
                {
                    txt_usename.Text = TrueName;
                    txt_ID.Text = ID;
                }
            }
        }
    }
}